

class B {

    public B() {
        func();
    }

    public void func() {
        System.out.println("B::FUNC()!");
    }
}

class D extends B {
    private int num;

    @Override
    public void func() {
        System.out.println("D::func()!"+num);
    }
}


public class Test3 {
    public static void main(String[] args) {
        D d=new D();
    }
}
